package com.risk.utils;

import java.util.UUID;

public class IdUtils {


    public static Long getSnowFlakeId() {
        Long dataCenterId = 0L;
        Long workerId = 0L;
        return new Snowflake(dataCenterId, workerId).nextId();
    }

    public static String getUuid() {
        return UUID.randomUUID().toString();
    }

}
